package com.self.starter.controller;

import com.self.starter.pojo.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SelfProsController {

    @Autowired
    private UserClient userClient;

    @GetMapping("props/ways/4")
    public String props3() {
        return userClient.getName();
    }
}
